package main.objects;

import java.math.BigDecimal;

public class SmetResourceAssignment {

    private int id, resourceId, smrId, smetId, titulId;
    private String name, code, type, units;
    BigDecimal quantity, em, zm;

    public SmetResourceAssignment(SmetResource rsrc, int smrId, int smetId, int titulId, BigDecimal quantity, BigDecimal em, BigDecimal zm) {

        this.resourceId = rsrc.getId();
        this.smrId = smrId;
        this.smetId = smetId;
        this.titulId = titulId;
        this.name = rsrc.getName();
        this.code = rsrc.getCode();
        this.type = rsrc.getType();
        this.units = rsrc.getUnits();
        this.quantity = quantity;
        this.em = em;
        this.zm = zm;

    }

    public SmetResourceAssignment() {

    }

}
